package com.lmy.mallback.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lmy.mallback.entity.SmallType;

import com.lmy.mallback.mapper.SmallTypeMapper;
import com.lmy.mallback.service.SmallTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
* @author lmy
* @description 针对表【t_smalltype】的数据库操作Service实现
* @createDate 2023-01-12 00:35:31
*/
@Service
public class SmallTypeServiceImpl extends ServiceImpl<SmallTypeMapper, SmallType> implements SmallTypeService {

    @Autowired
    private SmallTypeMapper smallTypeMapper;

    @Override
    public List<SmallType> list(Map<String, Object> map) {
        return smallTypeMapper.list(map);
    }

    @Override
    public Long getTotal(Map<String, Object> map) {
        return smallTypeMapper.getTotal(map);
    }
}




